﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace Tetris_Online___Client
{
    class Texture
    {
        public static Texture2D cursor;
        public static Texture2D fill;
        public static Texture2D Blue;
        public static Texture2D Green;
        public static Texture2D Magenta;
        public static Texture2D Red;
        public static Texture2D Yellow;
        public static Texture2D Orange;
        public static Texture2D Cyan;

        public static void LoadContent(ContentManager c)
        {
            fill = c.Load<Texture2D>("texture\\fill");
            cursor = c.Load<Texture2D>("texture\\cursor");
            Blue = c.Load<Texture2D>("texture\\Blue");
            Green = c.Load<Texture2D>("texture\\Green");
            Yellow = c.Load<Texture2D>("texture\\Yellow");
            Magenta = c.Load<Texture2D>("texture\\Magenta");
            Cyan = c.Load<Texture2D>("texture\\Cyan");
            Orange = c.Load<Texture2D>("texture\\Orange");
            Red = c.Load<Texture2D>("texture\\Red");
        }

        public static void UnloadContent(ContentManager c)
        {
            c.Unload();
        }
    }
}
